package com.lokyiu.mybible.service.impl;

import java.util.List;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;




import com.lokyiu.mybible.dao.ChapterDao;
import com.lokyiu.mybible.db.sqlite.ChapterDaoImpl;
import com.lokyiu.mybible.domain.Chapter;

import com.lokyiu.mybible.service.ChapterService;

public class ChapterServiceImpl extends AbstractAndroidService implements ChapterService {

	public ChapterServiceImpl(Context context) {
		super(context);
	}

	public ChapterServiceImpl(SQLiteDatabase db) {
		super(db);
	}
	
	@Override
	public void save(List<Chapter> chapters) {
		ChapterDao dao = new ChapterDaoImpl(getWritableDatabase());
		dao.saveChapters(chapters);
	}

	@Override
	public Chapter getChapter(String bookName, int chapterNumber) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Chapter> getChapters() {
		// TODO Auto-generated method stub
		return null;
	}

}
